<?php /* Smarty version Smarty-3.1.7, created on 2013-06-25 18:41:10
         compiled from "application\views\backend\auth\01_login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1260351c436d8dcfe51-91824199%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'abc12ef3eb990af76a6c0778cbe4a01e0a31781b' => 
    array (
      0 => 'application\\views\\backend\\auth\\01_login.tpl',
      1 => 1372153674,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1260351c436d8dcfe51-91824199',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_51c436d93c7b7',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51c436d93c7b7')) {function content_51c436d93c7b7($_smarty_tpl) {?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>APanel - Login</title>
        <meta http-equiv="content-type" content="text/javascript;charset=UTF-8" />
        <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/grid.css"/>
        <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/widgets.css"/>
        <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/bubble.css"/>

        <script type="text/javascript" src="<?php echo base_url();?>
libraries/script/jquery-1.9.0.js"></script>
        <script type="text/javascript" src="<?php echo base_url();?>
libraries/ui/js/jquery-ui-1.9.2.custom.js"></script>
        <link   type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/ui/themes/base/jquery.ui.all.css"/>
        <script type="text/javascript" src="<?php echo base_url();?>
libraries/backend/backend.jquery.1.1.9.js"></script>

        <script type="text/javascript" src="<?php echo base_url();?>
libraries/validation-engine/jquery.validationEngine-en.js"></script>
        <script type="text/javascript" src="<?php echo base_url();?>
libraries/validation-engine/jquery.validationEngine.js"></script>
        <!--[if !IE]>
            <link   type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/notie.css"/>
        <![endif]-->
        <!--[if lt IE 10]>
            <style type="text/css">
                .pie{behavior: url('<?php echo base_url();?>
libraries/css/pie-1.0/PIE.htc');}
            </style>
        <![endif]-->
        <!--[if lt IE 9]>
            <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
            <link   type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/ielt9.css"/>
        <![endif]-->
        <!--[if IE 8]>
            <link   type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/ie8.css"/>
        <![endif]-->
        <!--[if IE 7]>
            <link   type="text/css" rel="stylesheet" href="<?php echo base_url();?>
libraries/css/ie7.css"/>
        <![endif]-->
    </head>
    <body>
        <script type="text/javascript">var base_url = "<?php echo base_url();?>
", edialog, ndialog;</script>
        <div id="backendload">...loading...</div><div id="loaddingbar" class="loaddingbar"><div></div></div>
        <div id="login" class="b-g-c-w p-r z-i-1 d-p-n z-i-10k dotum">
            <div class="p-l-20 p-b-20 p-r-20 p-t-12  b-g-c-w p-r" >
                <div class="p-a t-0 l-0 b-0 r-0 tranf-w-50 d-p-n" style="z-index: 1001"></div>
                <div class="p-a t-0 l-0 b-0 r-0 b-g-ldg b-g-c-w i-l-d d-p-n" style="z-index: 1002"></div>
                <div class="content-biz w-240-">
                    <form id="frm-login" name="frm-login" action="<?php echo base_url();?>
backend/excution" method="POST" 
                          onsubmit="login();
                return false;" 
                          target="integration_asynchronous" autocomplete="off" 
                          >
                        <table>
                            <tbody>
                                <tr>
                                    <td>Username</td>
                                    <td>
                                        
                                        <input type="text"
                                               value="" data-putto="#eu"
                                               id="_username" name="_username"
                                               class="classic-input w-180 validate[required]">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td><td><p id="eu"></p></td>
                                </tr>
                                <tr>
                                    <td>Password</td>
                                    <td><input type="password" id="_password" name="_password" 
                                               value="" data-putto="#ep"
                                               class="classic-input w-180 validate[required]"></td>
                                </tr>
                                <tr>
                                    <td></td><td><p id="ep"></p></td>
                                </tr>
                                <tr>
                                    <!--<td class="t-a-c p-t-4" style="vertical-align: middle">
                                        <a class="a t-d-n" href="http://pushclimbing.com/OAuth">
                                            <img src="<?php echo base_url();?>
libraries/images/16/google1.png" title="Đăng nhập bằng tài khoản Google">
                                            <img src="<?php echo base_url();?>
libraries/images/16/gmail.png" title="Đăng nhập bằng tài khoản Gmail">
                                        </a>
                                    </td>-->
                                    <td colspan='2' class="p-t-4 t-a-c">
                                        <button type="submit" class="classic-button dotum">Đăng nhập</button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </form>
                </div>
            </div>
        </div>
        <script>
            $(document).ready(function() {
                $("#frm-login").validationEngine();
                var dig = new bckdialog({
                    title: '<span class="dotum">Login</span>',
                    hideclose: true,
                    icon: '<img class="p-a t-8 l-8 w-16 h-16" src="<?php echo base_url();?>
libraries/images/16/login.png"/>',
                    message: $("#login")
                }).open();
            });
            function login() {
                if( $('#frm-login').validationEngine('validate') === false)return false;
                backendloading();
                new backend({
                    url: "<?php echo base_url();?>
backend/auth/exc_login",
                    data: {
                        username: $("#_username").val(),
                        password: $("#_password").val()
                    },
                    datatype: "json",
                    callback: function(data) {
                        backendloaded();
                        if (data.result < 0) {
                            bckdialog({type: 'error'}).open(data.message);
                        } else {
                            uiMessage(data.message);
                            window.location.reload();
                        }
                    }
                }).call();
            }
        </script>
<iframe id="integration_asynchronous" name="integration_asynchronous" ></iframe><?php }} ?>